.class public Les/ry;
.super Les/ty;
.source "BottomMenu_AudioPlaying.java"


# instance fields
.field private m:Lcom/estrongs/android/pop/app/PopAudioPlayer;

.field private n:Landroid/view/View;

.field private o:Landroid/widget/ImageView;

.field private p:Landroid/view/View;

.field private q:Landroid/widget/ImageView;

.field private r:Landroid/view/View;

.field private s:Landroid/widget/ImageView;

.field private t:Landroid/view/View;

.field private u:Landroid/widget/ImageView;

.field private v:Landroid/view/View;

.field private w:Landroid/widget/ImageView;

.field private x:Landroid/graphics/drawable/Drawable;

.field private y:Landroid/graphics/drawable/Drawable;

.field private z:Landroid/graphics/drawable/Drawable;


# direct methods
.method public constructor <init>(Landroid/content/Context;Z)V
    .locals 0

    .line 1
    invoke-direct {p0, p1, p2}, Les/ty;-><init>(Landroid/content/Context;Z)V

    .line 2
    invoke-direct {p0}, Les/ry;->h()V

    return-void
.end method

.method static synthetic a(Les/ry;)Lcom/estrongs/android/pop/app/PopAudioPlayer;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ry;->m:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    return-object p0
.end method

.method private a(Landroid/widget/ImageView;II)V
    .locals 1

    .line 2
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v0

    invoke-virtual {v0, p2, p3}, Lcom/estrongs/android/ui/theme/b;->b(II)Landroid/graphics/drawable/Drawable;

    move-result-object p2

    .line 3
    invoke-virtual {p1, p2}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    return-void
.end method

.method private h()V
    .locals 4

    .line 1
    iget-object v0, p0, Les/my;->b:Landroid/content/Context;

    instance-of v1, v0, Lcom/estrongs/android/pop/app/PopAudioPlayer;

    if-eqz v1, :cond_0

    .line 2
    check-cast v0, Lcom/estrongs/android/pop/app/PopAudioPlayer;

    iput-object v0, p0, Les/ry;->m:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    .line 3
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    .line 4
    iget-object v0, p0, Les/my;->b:Landroid/content/Context;

    invoke-static {v0}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0c0074

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 5
    invoke-virtual {p0, v0}, Les/ty;->a(Landroid/view/View;)V

    .line 6
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f080a01

    const v3, 0x7f060320

    invoke-virtual {v1, v2, v3}, Lcom/estrongs/android/ui/theme/b;->b(II)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    iput-object v1, p0, Les/ry;->x:Landroid/graphics/drawable/Drawable;

    .line 7
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f0809bf

    invoke-virtual {v1, v2, v3}, Lcom/estrongs/android/ui/theme/b;->b(II)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    iput-object v1, p0, Les/ry;->y:Landroid/graphics/drawable/Drawable;

    .line 8
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f0809be

    invoke-virtual {v1, v2, v3}, Lcom/estrongs/android/ui/theme/b;->b(II)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    iput-object v1, p0, Les/ry;->z:Landroid/graphics/drawable/Drawable;

    const v1, 0x7f0909a4

    .line 9
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, p0, Les/ry;->n:Landroid/view/View;

    const v2, 0x7f090bca

    .line 10
    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Les/ry;->o:Landroid/widget/ImageView;

    .line 11
    iget-object v1, p0, Les/ry;->n:Landroid/view/View;

    new-instance v2, Les/ry$a;

    invoke-direct {v2, p0}, Les/ry$a;-><init>(Les/ry;)V

    invoke-virtual {v1, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v1, 0x7f090ad6

    .line 12
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, p0, Les/ry;->p:Landroid/view/View;

    const v2, 0x7f090bd5

    .line 13
    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Les/ry;->q:Landroid/widget/ImageView;

    .line 14
    iget-object v1, p0, Les/ry;->p:Landroid/view/View;

    new-instance v2, Les/ry$b;

    invoke-direct {v2, p0}, Les/ry$b;-><init>(Les/ry;)V

    invoke-virtual {v1, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v1, 0x7f090a31

    .line 15
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, p0, Les/ry;->r:Landroid/view/View;

    const v2, 0x7f0901c3

    .line 16
    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Les/ry;->s:Landroid/widget/ImageView;

    .line 17
    iget-object v2, p0, Les/ry;->x:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 18
    iget-object v1, p0, Les/ry;->r:Landroid/view/View;

    new-instance v2, Les/ry$c;

    invoke-direct {v2, p0}, Les/ry$c;-><init>(Les/ry;)V

    invoke-virtual {v1, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v1, 0x7f0908ff

    .line 19
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, p0, Les/ry;->t:Landroid/view/View;

    const v2, 0x7f0901bd

    .line 20
    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Les/ry;->u:Landroid/widget/ImageView;

    .line 21
    iget-object v2, p0, Les/ry;->y:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 22
    iget-object v1, p0, Les/ry;->t:Landroid/view/View;

    new-instance v2, Les/ry$d;

    invoke-direct {v2, p0}, Les/ry$d;-><init>(Les/ry;)V

    invoke-virtual {v1, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v1, 0x7f090710

    .line 23
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Les/ry;->v:Landroid/view/View;

    const v1, 0x7f0901bc

    .line 24
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Les/ry;->w:Landroid/widget/ImageView;

    .line 25
    iget-object v1, p0, Les/ry;->z:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 26
    iget-object v0, p0, Les/ry;->v:Landroid/view/View;

    new-instance v1, Les/ry$e;

    invoke-direct {v1, p0}, Les/ry$e;-><init>(Les/ry;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void

    .line 27
    :cond_0
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "BottomMenu_AudioPlaying is used for PopAudioPlayer only!"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0
.end method


# virtual methods
.method public c(I)V
    .locals 3

    const v0, 0x7f060285

    const/4 v1, 0x1

    if-ne p1, v1, :cond_0

    .line 1
    iget-object p1, p0, Les/ry;->o:Landroid/widget/ImageView;

    const v1, 0x7f0809dd

    invoke-direct {p0, p1, v1, v0}, Les/ry;->a(Landroid/widget/ImageView;II)V

    goto :goto_0

    :cond_0
    const/4 v1, 0x2

    const v2, 0x7f0809ab

    if-ne p1, v1, :cond_1

    .line 2
    iget-object p1, p0, Les/ry;->o:Landroid/widget/ImageView;

    invoke-direct {p0, p1, v2, v0}, Les/ry;->a(Landroid/widget/ImageView;II)V

    goto :goto_0

    .line 3
    :cond_1
    iget-object p1, p0, Les/ry;->o:Landroid/widget/ImageView;

    const v0, 0x7f060320

    invoke-direct {p0, p1, v2, v0}, Les/ry;->a(Landroid/widget/ImageView;II)V

    :goto_0
    return-void
.end method

.method public d(I)V
    .locals 2

    const v0, 0x7f0809c5

    const/4 v1, 0x1

    if-ne p1, v1, :cond_0

    .line 1
    iget-object p1, p0, Les/ry;->q:Landroid/widget/ImageView;

    const v1, 0x7f060285

    invoke-direct {p0, p1, v0, v1}, Les/ry;->a(Landroid/widget/ImageView;II)V

    goto :goto_0

    .line 2
    :cond_0
    iget-object p1, p0, Les/ry;->q:Landroid/widget/ImageView;

    const v1, 0x7f060320

    invoke-direct {p0, p1, v0, v1}, Les/ry;->a(Landroid/widget/ImageView;II)V

    :goto_0
    return-void
.end method
